package com.mystery.mapper;

import com.mystery.pojo.FitnessDiary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FitnessDiaryMapper {

    List<FitnessDiary> findAllById(@Param("id") long id);

    int add(@Param("userId") long userId,@Param("diary") String diary);
}
